<% #endcoding:utf-8 %>

<%=render partial: "shared/path_nav",locals:{:@paths=>[{name:'首页'}]}%>
<div class="panel">
  <div class="panel-heading">
    <h3 class="demand-top">热门验厂招标</h3>
  </div>
  <%if Demand.top_ten.any?%>
      <ul class="list-group">
        <%=render Demand.top_ten%>
      </ul>
  <%else%>
      <%=render partial: 'shared/no_content'%>
  <%end%>
  <div class="panel-footer text-right"><a title="更多" href="/demands"><span class="glyphicon glyphicon-link"></span></a></div>
</div>

<div class="panel">
  <div class="panel-heading">
    <h3 class="demand-top">问题排行版</h3>
  </div>
  <%if Question.top_ten.any?%>
      <ul class="list-group">
        <%=render Question.top_ten%>
      </ul>
  <%else%>
      <%=render partial: 'shared/no_content'%>
  <%end%>
  <div class="panel-footer text-right"><a title="更多" href="/questions"><span class="glyphicon glyphicon-link"></span></a></div>
</div>




